callbacks
Type
property
Summary
Specifies messages to be sent during playback of a movie.
Syntax
set the callbacks of <player> to <messageList>
Description
Use the callbacks property to send callback messages to a player at certain points in the movie. This synchronizes the messages with the playback.
When an interval number is reached during playback, LiveCode sends the corresponding message to the player.
The number of intervals per second is specified by the player's timeScale property. The total number of intervals is given in the player's duration property.
Examples
set the callbacks of player "Mist" to myCallbacks
set the callbacks of player "Do It!" to "2500,soundNotes"
Related
glossary: property, synchronize, message, callback, player
keyword: player
message: currentTimeChanged
object: player
property: timeScale, duration, currentTime, playRate
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
Platforms
desktop